package com.gzhryc.shared_device.iot.code.dao.enums;

public enum ELogType {

    CloudLog("云到设备"), DeviceLog("设备到云");

    private String note;

    ELogType(String note) {
        this.note = note;
    }

    public String note() {
        return note;
    }

    public static String note(String name){
        try{
           return ELogType.valueOf(name).note();
        }catch (Exception e){}
        return name;
    }

}
